using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using CLFramework.Utility;

namespace CLFramework.ScheduledTasks
{

    public class TaskModule : ITaskModule
    {
        public void Init(TaskApplication taskApplication)
        {
            taskApplication.TaskException += new TaskExceptionEventHandler(taskApplication_TaskException);
        }

        static void taskApplication_TaskException(Task task, Exception exception)
        {
            Log.Exception(exception);
        }
    }
}
